package com.icebartech.base.modules.user.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.icebartech.base.modules.user.model.AdminUserCore;
import com.icebartech.core.modules.BaseMapper;

public interface AdminUserCoreMapper extends BaseMapper{

	/**
	 * 根据用户名获取对应的唯一记录
	 * @param userName
	 * @return
	 */
	public AdminUserCore selectByUserName(@Param("userName") String userName);

	/**
	 * 分页查找管理账户
	 * @param paramMap 参数map
	 * @return
	 */
	public List<Map<String, Object>> findAdminUserCoreMapPageHolder(Map<String, Object> paramMap);
	
	/**
	 * 根据筛选条件分页查找用户
	 * @param paramMap
	 * @return
	 */
	public List<AdminUserCore> findAdminUserCoreByPage(Map<String, Object> paramMap);
	
}